﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CoolERP_Entities;
using CoolERP_DAL;

namespace CoolERP_BLL
{
    public class ZL_CWBLL : BaseBLL<ZL_CW>
    {       
        public ZL_CWBLL() { }

        public bool IsEmpty(string ckid, string qu, string hang, string lie, string ceng, string ge)
        {
            return !base.IsExist(t => t.CKID == new Guid(ckid) && t.QU.Trim() == qu && t.HANG.Trim() == hang && t.LIE.Trim() == lie && t.CENG.Trim() == ceng && t.GE.Trim() == ge);
        }
    }
}
